@black-3: #333; /* 黑色 */
@gray-6: #666; /* 灰色 */
@gray-9: #999; /* 浅灰 */
@gray-line-d8: #d8d8d8; /* 分割线 */
@gray-block-e: #eee; /* 分割块 */
@lapse-b8: #b8b8b8; /* 不可点/失效色 */
@red-db: #db524b; /* 警告色/提示色 */
@green-58: #58b957; /* 警告色/提示色 */
@yellow-f2: #f2ae43; /* 警告色/提示色 */
@main-blue: #3b9bff; /* 主色 */
@ancillary-yellow: #fabe09; /* 辅助色 */

/*文字*/

@default-font-wight: normal;
@special-text: 20/2px;

@paragraph-text: 28/2px;
@span-text: 20/2px;

@H1-text: 28px;
@H2-text: 24px;
@H3-text: 22px;
@H4-text: 20px;
@H5-text: 18px;
@H6-text: 16px;
@p30-text: 30px;
@p28-text: 28px;

@medium-font-weight: 400;

@regular-font-weight: 500;

@bold-font-weight: 800;
*{
  font-family:"Microsoft YaHei", "微软雅黑", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;

}


h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  font-family:"Microsoft YaHei", "微软雅黑", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

span, em, b, a {
  font-family: "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

h1 {
  color: @black-3;
  font-size: @H1-text;
}

h2 {
  color: @black-3;
  font-size: @H2-text;
}

h3 {
  color: @black-3;
  font-size: @H3-text;
}

h4 {
  color: @black-3;
  font-size: @H4-text;
}

h5 {
  color: @black-3;
  font-size: @H5-text;
}

h6 {
  color: @black-3;
  font-size: @H6-text;
}

.p28 {
  color: @black-3;
  font-size: @p28-text;
}

span {
  font-size: @span-text;
  color: @gray-9;
}

/*mixin 函数*/

.mixin-font-weight(@value) {
  font-weight: @value
}

.mixin-font-trim(@height,@value) {
  height: @height;
  display: -webkit-box; //1.设置display类型为-webkit-box
  overflow: hidden; //2.设置元素超出隐藏
  text-overflow: ellipsis; //3.设置超出样式为省略号
  -webkit-line-clamp: @value; //4.设置2行应用省略
  -webkit-box-orient: vertical;
}

/**/
.box-shadow-bottom {
  box-shadow: 0 1px 1px @gray-9;
}

.box-shadow-top {
  box-shadow: 0 -1px 0 @gray-9;
}

.spacing-control {
  padding: 20/2px 30/2px;
}

/* 清除padding */
.no-padding {
  padding: 0 !important;
}

/* 清除margin */
.no-margin {
  margin: 0 !important;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.text-center {
  text-align: center;
}

/* 清除浮动 */
.clearfix {
  &:after {
    content: "";
    display: block;
    visibility: hidden;
    width: 0;
    height: 0;
    zoom: 1;
    clear: both;
  }
}

/* 隐藏伪类底部线条 */
.no-after:after {
  height: 0;
}

.line-before:before {
  position: absolute;
  right: 0;
  top: 50%;
  color: @gray-9;
  font-family: iconfont;
  content: "\e600";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%);
  -webkit-font-smoothing: antialiased;
}

/* 显示伪类底部线条 */
.line-after:after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: '';
  -webkit-transform: scaleY(.5);
  transform: scaleY(.5);
  background-color: @lapse-b8;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
}

* {
  box-sizing: border-box;
  background-repeat: no-repeat;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
